package com.ruoyi.order.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Arrays;
import java.util.Date;
import java.util.Map;

/**
 * @ClassName CheEvaluate
 * @Description TODO
 * @Author liuzhiqiang
 * @Date 2024年06月06日 19:16
 * @Version 1.0
 */
public class CheEvaluate {
    private Long id;
    private Long userId;
    private String userName;
    private Long orderIdw;
    private String comments;
    private int score;
    private String orderCode;
    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date commentTime;
    private String[] service;
    private String[] images;
    private Map<String, Object> params;

    public String getOrderCode() {
        return orderCode;
    }

    public void setOrderCode(String orderCode) {
        this.orderCode = orderCode;
    }

    public Map<String, Object> getParams() {
        return params;
    }

    public void setParams(Map<String, Object> params) {
        this.params = params;
    }
    @Override
    public String toString() {
        return "CheEvaluate{" +
                "id=" + id +
                ", userId=" + userId +
                ", userName='" + userName + '\'' +
                ", orderIdw=" + orderIdw +
                ", comments='" + comments + '\'' +
                ", score=" + score +
                ", commentTime=" + commentTime +
                ", service=" + Arrays.toString(service) +
                ", images=" + Arrays.toString(images) +
                '}';
    }

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public Long getOrderIdw() {
        return orderIdw;
    }

    public void setOrderIdw(Long orderIdw) {
        this.orderIdw = orderIdw;
    }

    public String getComments() {
        return comments;
    }

    public void setComments(String comments) {
        this.comments = comments;
    }

    public int getScore() {
        return score;
    }

    public void setScore(int score) {
        this.score = score;
    }

    public Date getCommentTime() {
        return commentTime;
    }

    public void setCommentTime(Date commentTime) {
        this.commentTime = commentTime;
    }

    public String[] getService() {
        return service;
    }

    public void setService(String[] service) {
        this.service = service;
    }

    public String[] getImages() {
        return images;
    }

    public void setImages(String[] images) {
        this.images = images;
    }
}
